<template>
    <div class="list pb-5">
        列表页<br>
        <NInputGroup>
            <NInput />
            <NButton strong secondary type="primary" :render-icon="() => h(Search)">
                搜索
            </NButton>
        </NInputGroup>
        <RouterLink to="/home">
            回到主页
        </RouterLink>
        <br>
        <RouterLink to="/detail/test">
            详情1
        </RouterLink>
    </div>
</template>

<script setup lang="ts">
import { Search } from '@vicons/tabler';
import { h } from 'vue';
</script>

<style scoped lang="scss">
.list {
    height: calc(100% - 1.25rem);
}
</style>
